package com.winchain.chainbill.bill.base.service.impl;

import com.shell.bee.persistence.service.impl.PersistentServiceImpl;
import com.winchain.chainbill.bill.base.dao.CbRcvDao;
import com.winchain.chainbill.bill.base.po.CbRcv;
import com.winchain.chainbill.bill.base.service.CbRcvService;
import com.winchain.chainbill.bill.biz.receive.vo.BillRcv;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("cbRcvService")
public class CbRcvServiceImpl extends PersistentServiceImpl<CbRcv> implements CbRcvService {
	@Autowired
	private CbRcvDao cbRcvDao;

	public List<BillRcv> getBillRcvByStateAndIds(String RcvState, String... ids) {
		return this.cbRcvDao.getBillRcvByStateAndIds(RcvState, ids);
	}

	public BillRcv selectBillRcv(BillRcv billInput) {
		return this.cbRcvDao.selectBillRcv(billInput);
	}

	public int updateDctState(CbRcv cbRcv) {
		return this.cbRcvDao.updateDctState(cbRcv);
	}
}
